﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<section data-page="link_add" data-title="添加链接" data-lang="<%=ContentLang%>">
	<div class="path1"><span>您的位置：</span>添加链接</div>
	<form action="" class="post">
		<div class="post-body">
			<div class="ali-tabs" data-event="click">
				<div class="ali-tabs-header">
					<div class="ali-tabs-nav-container">
						<ul>
							<li><a href="list.aspx?Lang=<%=ContentLang%>" target="ali-navtab">链接列表</a></li>
							<li class="ali-active"><a>添加链接</a></li>
							<li><a href="../link_category/list.aspx?Lang=<%=ContentLang%>" target="ali-navtab">类别列表</a></li>
							<li><a href="../link_category/add.aspx?Lang=<%=ContentLang%>" target="ali-navtab">添加类别</a></li>
						</ul>				
					</div>
				</div>
				<div class="ali-tabs-body">
					<div class="ali-tabs-panel"></div>
					<div class="ali-tabs-panel">
						<table class="post-table margin2">
							<tr>
								<th width="120">标题：</th>
								<td>
									<input type="text" name="Name" size="60" maxlength="255" class="ali-input ali-input-required <%=ContentLang%>Font">
									<label><input type="checkbox" data-name="Bold">粗体</label>
									<label><input type="checkbox" data-name="Italic">斜体</label>
									颜色：<button type="button" data-name="Color" size="8" class="color-selector"></button>
									<label><input type="checkbox" data-name="Custom">自定</label>
									<input type="text" data-name="CustomStyle" size="40" style="display:none">
								</td>
							</tr>
							<tr>
								<th>类别：</th>
								<td>
									<select name="CategoryID" data-class="<%=ContentLang%>Font" data-tree="true" data-root="" data-ali-widget="combo">
										<option data-item="" data-parent="" value="">未指定</option>
										<ali:Tree Object="LinkCategory">
											<ali:Record>
												<option data-item="<%=InnerID%>" data-parent="<%=ParentInnerID%>" value="<%=ID%>"><%=Name%></option>
												<%=ChildRecords%>
											</ali:Record>
										</ali:Tree>		
									</select>
								</td>
							</tr>
							<tr>
								<th>网址：</th>
								<td><input type="text" name="URL" size="60" maxlength="255" class="ali-input"></td>
							</tr>
							<tr>
								<th>Logo：</th>
								<td><input type="text" name="Logo" size="60" class="ali-input"><a class="ali-button ali-uploader">浏览...</a><a href="" target="_blank"><img src="" height="22" alt="图片"></a></td>
							</tr>
							<tr>
								<th>Email：</th>
								<td><input type="text" name="Email" size="30" maxlength="50"  class="ali-input"></td>
							</tr>
							<tr>
								<th>QQ：</th>
								<td><input type="text" name="QQ" size="30" maxlength="50"  class="ali-input"></td>
							</tr>
							<tr>
								<th>电话：</th>
								<td><input type="text" name="Phone" size="30" maxlength="50"  class="ali-input"></td>
							</tr>
							<tr>
								<th>简介：</th>
								<td><textarea cols="60" rows="5" name="Description" class="Text <%=ContentLang%>Font"></textarea></td>
							</tr>
						</table>
					</div>
				</div>
				<div class="ali-tabs-bottom"><b></b></div>
			</div>
		</div>
		<div class="post-footer"><button type="submit" class="ali-button">添 加</button><input type="hidden" name="PictureAllowedType" value="gif|jpg|jpeg|png|bmp|png"></div>
	</form>
</section>